#ifndef OFF_LOADER_H
#define OFF_LOADER_H

#include "../Config/Export.h"
#include "../Core/ILoader.h"
#include "../Core/Model.h"
#include <iostream>
using namespace std;
namespace epix {

class SHARED OffLoader : public ILoader<Model>
{
    public:

        OffLoader();
        ~OffLoader();

        virtual Model *loadFromFile(const char *filename);

    private:

        void count(const char *filename);
        void fill(const char *filename);

};

}

#endif
